package com.yzh.oop8;

/**
 * @author 于振晗
 * @title: Book
 * @description: TODO 书类
 * @date 2020年08月28日
 * @path com.yzh.oop8
 */
public class Book {
    private String bookName;//书名
    private String author; //作者
    private String publisher;//出版社名
    private double price; //价格

    public Book(String bookName, String author, String publisher, double price) {
        this.bookName = bookName;
        this.author = author;
        this.publisher = publisher;
        this.price = price;
    }

    public String getBookName() {
        return bookName;
    }

    public String getAuthor() {
        return author;
    }

    public String getPublisher() {
        return publisher;
    }

    public double getPrice() {
        return price;
    }
}
